<?php

class Users_Table_Access_Privilege2Resource extends Workset_Db_Table {

    protected $_name = 't_access_privilege2resource';

    protected $_primary = array('privilege_id', 'resource_id');

    protected $_referenceMap = array(
        'privilege' => array(
            'columns' 		=> 'privilege_id',
            'refTableClass' => 'Users_Table_Access_Privilege',
            'refColumns' 	=> 'id'
        ),
        'resource' => array(
            'columns' 		=> 'resource_id',
            'refTableClass' => 'Users_Table_Access_Resource',
            'refColumns' 	=> 'id'
        ),
    );

}

?>